package com.zengqingfa.demo.service;

import com.zengqingfa.demo.entity.SysUser;

import java.sql.SQLTimeoutException;
import java.util.List;

/**
 * @author zengqingfa
 * @date 2019/10/14 14:22
 * @description
 * @email zengqingfa_java@163.com
 */
public interface UserService {

    SysUser getById(Long id);

    List<SysUser> findAll();

    void testTransaction1() ;

    void testTransaction2();

    void testTransaction22();

}
